.PHONY:all
all:calserver calclient

calserver:CalculatorServer.cc -lpthread -ljsoncpp
	g++ -o $@ $^ -std=c++11

calclient:CalculatorClient.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf calclient calserver